package com.hxd.otc.module.my.presenter;

import com.hxd.otc.base.BaseRecyclerPresenter;
import com.hxd.otc.module.my.adapter.BankAeraChooseAdapter;
import com.hxd.otc.module.my.bean.BankAeraChooseBean;
import com.hxd.otc.module.my.contract.BankAeraChooseContract;

import java.util.ArrayList;

public class BankAeraChoosePresenter extends BaseRecyclerPresenter<BankAeraChooseContract.IView, BankAeraChooseAdapter, BankAeraChooseBean> implements BankAeraChooseContract.IPresenter {
    public BankAeraChoosePresenter(BankAeraChooseContract.IView iView) {
        super(iView);
        initData();
    }

    private ArrayList<BankAeraChooseBean> mAeraChooseBeans = new ArrayList<>();

    @Override
    public void loadData(boolean isRefresh) {
        onLoadDataSuccess(isRefresh, mAeraChooseBeans);
    }

    private void initData() {
        mAeraChooseBeans.clear();
        mAeraChooseBeans.add(new BankAeraChooseBean("中国"));
        mAeraChooseBeans.add(new BankAeraChooseBean("中国香港"));
        mAeraChooseBeans.add(new BankAeraChooseBean("中国台湾"));
        mAeraChooseBeans.add(new BankAeraChooseBean("菲律宾"));
        mAeraChooseBeans.add(new BankAeraChooseBean("韩国"));
        mAeraChooseBeans.add(new BankAeraChooseBean("日本"));
        mAeraChooseBeans.add(new BankAeraChooseBean("印度"));
        mAeraChooseBeans.add(new BankAeraChooseBean("新加坡"));
        mAeraChooseBeans.add(new BankAeraChooseBean("加拿大"));
        mAeraChooseBeans.add(new BankAeraChooseBean("尼日利亚"));
        mAeraChooseBeans.add(new BankAeraChooseBean("澳大利亚"));
        mAeraChooseBeans.add(new BankAeraChooseBean("英国"));
        mAeraChooseBeans.add(new BankAeraChooseBean("荷兰"));
        mAeraChooseBeans.add(new BankAeraChooseBean("印度尼西亚"));
        mAeraChooseBeans.add(new BankAeraChooseBean("柬埔寨"));

    }
}
